from rest_framework.routers import SimpleRouter
from django.urls import path
from .views import *

router = SimpleRouter()
router.register('admins', UserManageView)
router.register('groups', GroupView)
router.register('permission', PermissionView)

urlpatterns = [
    path('login', LoginView.as_view()),
    path('info', UserInfoView.as_view()),
    path('websetting', WebSettingView.as_view()),
] + router.urls
